package cn.shop.merchant.req;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * 分配权限
 *
 * @author jzw
 * @since 2021-11-08 14:35
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class AssignRoleReq {

	/**
	 * 商户id
	 */
	private Long uid;

	/**
	 * 用户id
	 */
	@NotNull(message = "用户id不能为空")
	private Long userId;

	/**
	 * 权限id
	 */
	@NotNull(message = "角色id不能为空")
	private List<Object> roleList;


}
